package com.abc.recycling.service;

import com.abc.recycling.model.Address;
import java.util.List;

public interface AddressService {
    /**
     * 获取用户的地址列表
     */
    List<Address> getAddressList(Long userId);
    
    /**
     * 获取用户的单个地址
     */
    Address getAddress(Long userId, Long addressId);
    
    /**
     * 添加地址
     */
    Address addAddress(Long userId, Address address);
    
    /**
     * 更新地址
     */
    void updateAddress(Long userId, Address address);
    
    /**
     * 删除地址
     */
    void deleteAddress(Long userId, Long addressId);
} 